/ Assembly List / LJCWinFormControls / LJCRtControl / LJCLeadingSpaceToTabCount

Namespace - LJCWinFormControls


Parameters
text - The text value.
leadingSpaces - The number of leading spaces that are counted as a tab.

Returns

The required number of tabs.

Syntax

C#
public static Int32 LJCLeadingSpaceToTabCount(String text, Int32 leadingSpaces = 8)

Gets the number of tabs that are required based on the leadingSpaces count.

Copyright © Lester J. Clark and Contributors.
Licensed under the MIT License.